Skip to content

fix(config): silence autogalaxy cross-library latent warning - #19

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/flux-latents-raw
May 28, 2026
Merged

fix(config): silence autogalaxy cross-library latent warning#19
Jammy2211 merged 1 commit into
mainfrom
feature/flux-latents-raw

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

PyAutoLabs/PyAutoGalaxy#463 adds total_galaxy_0_flux: true to the autogalaxy library defaults. autoconf merges the autogalaxy and autolens latent.yaml files into the same latent conf node, so the autolens dispatcher sees a key it doesn't recognise and logs an "unknown latent" warning on every fit evaluation — noisy on the long-running HPC fits that originally surfaced the bug fixed in #556.

This PR adds one explicit override line to the pipeline's config/latent.yaml to silence the warning. The pipeline's existing _mujy: true keys remain the canonical photometric output.

Scripts Changed

  • config/latent.yaml — Add total_galaxy_0_flux: false with a comment explaining the cross-library autoconf merge that motivates it.

Upstream PR

Test Plan

  • python -m py_compile n/a (yaml-only).
  • Pattern verified in autolens_workspace_test smoke test re-run: with the autogalaxy default-on key explicitly silenced, no latent.yaml lists 'total_galaxy_0_flux' but no such latent is registered warnings fire.

Refs PyAutoLabs/PyAutoLens#556

🤖 Generated with Claude Code

PyAutoLabs/PyAutoGalaxy#463 adds total_galaxy_0_flux: true to the
autogalaxy library defaults. autoconf merges the autogalaxy and
autolens latent.yamls into a single 'latent' conf node, so the
autolens dispatcher sees a key it doesn't know and logs a warning on
every fit evaluation.

Add explicit total_galaxy_0_flux: false to silence the warning. The
pipeline's muJy latents above remain the canonical photometric
output; this is purely a log-noise fix.

Refs PyAutoLabs/PyAutoLens#556
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 28, 2026
@Jammy2211
Jammy2211 merged commit b6f56c7 into main May 28, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the feature/flux-latents-raw branch May 28, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant